package com.xyh.dao;

import com.xyh.po.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author:kyle
 * @Date:2020/12/13 - 12:03
 * @Project:spring_demo1
 * @Package:com.xyh.dao
 * @Version:1.0
 */
@Repository("userDao")
public interface UserDao {

   List<User> getAll();

   int insertUser(User user);

}
